package game.module.item.response;

import game.module.item.beans.CharacterGoods;
import lion.message.MyServerResponse;

public class GoodsUpdata10176 extends MyServerResponse {

	public GoodsUpdata10176(CharacterGoods goods) {
		setMsgCode(10176);
		writeShort(goods.getPosition());
		writeShort(goods.getQuickbarindex());
		writeInt(goods.getGoodmodelId());
		writeInt(goods.getCount());
		writeByte(goods.getPingzhiColor());// X
		writeByte(goods.getBind());
		writeInt(goods.getCurrDurability());
	}
}
